ImageGear Professional > User Guide > Using ImageGear > Images and Documents > Single-Page Images > DIB Information |
ImageGear provides two ways to access image attributes: via the HIGEAR handle, and via the special object HIGDIBINFO, which encapsulates the image attributes.
Image Attribute |
To Access via HIGEAR |
To Access via HIGDIBINFO |
Width |
||
Height |
||
Color Space |
||
Channel Depths |
||
Palette (for images that have Indexed colorspace) |
||
Resolution |
||
Signed attribute |
|
The HIGDIBINFO object only contains the attributes and does not contain the pixels.
Use IG_DIB_info_create to create a DIB info object. Use IG_DIB_info_copy to create a copy of an existing object. Use IG_image_DIB_info_get to obtain DIB information from a HIGEAR handle.
When the HIGDIBINFO object is no longer in use, you must delete it using IG_DIB_info_delete.
You cannot edit the DIB information of a HIGEAR directly. Instead, use image processing functions to modify the image: resize, convert to a different color space, change its resolution, etc. |